package com.wang.controller;

import org.apache.catalina.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname ErrorController
 * @Description TODO
 * @Date 2024/5/21 11:58
 * @Created by pc
 */
@RestController
public class ErrorController {
    @GetMapping("/user/{id}")
    public void get(@PathVariable String id) {
        int i = 1 / 0;
    }
}
